package com.scorpio.goods.vo;

import com.scorpio.common.utils.verification.DefaultGroup;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

public class AddGoodsSkuGroupVo {

    private Long id;

    @NotBlank(message = "分组名有误", groups = {DefaultGroup.class})
    @Size(min = 0, max = 20, message = "分组名长度为20个字符", groups = {DefaultGroup.class})
    private String name;

    private Integer sort;



    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
